using Microsoft.Build.Evaluation;
using NUnit.Framework;

namespace projectfile.tests
{
    [TestFixture]
    public class ProjectLesenTests
    {
        private ProjectReader sut;
        private Project result;

        [SetUp]
        public void Setup() {
            sut = new ProjectReader();
            sut.Out_Result += x => result = x;
        }

        [Test]
        public void Projekt_wird_gelesen() {
            sut.In_Process(@"..\..\projectfile.tests.csproj");
            Assert.That(result, Is.Not.Null);
        }
    }
}